package 抽象类.抽象类特性.抽象类不能直接实例化对象1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 姚东名
 * Date: 2024-06-18
 * Time: 16:12
 */
public abstract class Shape {
    abstract public void draw();
    abstract void calcArea();

    public double getArea() {
        return area;
    }

    protected double area;
}
